<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'orderManager.jsp' starting page</title>
    <link href="${pageContext.request.contextPath }/css/waimaistyle.css"
	type=text/css rel=stylesheet />
  </head>
  
  <body>
   	<p align="center">用户订单</p>
   		<table  align="center" border="1" cellspacing="0" cellpadding="20"
					class="table">
			<tr>
				<td>订单编号</td>
				<td>时间</td>
				<td>配送费</td>
				<td>总价格</td>
				<td>备注</td>
				
			</tr>
			<c:forEach items="${orders }" var="o">
				<tr>
					<td>${o.orderId }</td>
					<td>${o.orderTime }</td>
					<td>${o.deliveryPrice }</td>
					<td>${o.totalPrice }</td>
					<td>${o.remark }</td>
					
				</tr>
			</c:forEach>
		</table>
  </body>
</html>
